package com.mujin.keji.collectionsystem.module.mypager.repository;

import android.arch.lifecycle.LiveData;

import com.mujin.keji.collectionsystem.base.BaseDto;
import com.mujin.keji.collectionsystem.base.CommonRepository;
import com.mujin.keji.collectionsystem.http.Api;
import com.mujin.keji.collectionsystem.module.mypager.dto.CheckPwdDto;
import com.mujin.keji.collectionsystem.module.mypager.vo.CheckPwdVo;

/**
 * 检查密码Repository
 *
 * @author weishixiong
 * @Time 2018-05-9
 */
public class CheckPwdRepositor extends CommonRepository<CheckPwdDto> implements ICheckPwdRepository {
    @Override
    public LiveData<BaseDto<CheckPwdDto>> checkPwd(CheckPwdVo baseVo) {
        return request(Api.checkPwd(baseVo)).send().get();
    }
}
